package net;

import java.io.IOException;

import types.Message;

public interface ConnectionHandler {
	
	void sendMessage(Message message) throws IOException;

	void closeSocket();
		
	MessageReceivedListener getMessageReceivedListener();

	void setMessageReceivedListener(MessageReceivedListener mMessageReceivedListener);
}
